﻿<%@ Page Language="C#" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
    <title></title>
</head>
<body>
    <form id="form1" runat="server">
    <asp:ScriptManager ID="ScriptManager1" runat="server" />
    <DotNetAge:CollapsablePanel ID="DistancePanel" runat="server" Width="200" Title="DragStart with Distance"
        Style="padding: 0.5em; float: left; margin: 0 10px 10px 0;">
        <ContentTempalte>
            <p style="margin: 5px;">
                Only if you drag me by 20 pixels, the dragging will start</p>
        </ContentTempalte>
    </DotNetAge:CollapsablePanel>
    <DotNetAge:CollapsablePanel ID="DragDelayPanel" runat="server" Title="Drag Delay"
        Style="padding: 0.5em; float: left; margin: 0 10px 10px 0;" Width="200">
        <p style="margin: 5px;">
            Regardless of the distance, you have to drag and wait for 1000ms before dragging
            starts</p>
    </DotNetAge:CollapsablePanel>
    <DotNetAge:Draggable ID="DistanceDraggable" runat="server" DragStartDistance="20">
        <Target TargetID="DistancePanel" />
    </DotNetAge:Draggable>
    <DotNetAge:Draggable ID="Draggable2" runat="server" DragStartDelay="1000">
        <Target TargetID="DragDelayPanel" />
    </DotNetAge:Draggable>
    </form>
</body>
</html>
